/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package gsb.android;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 *
 * @author sio
 */
public class OtherActivity extends Activity {
    
    public void onCreate(Bundle icicle){
super.onCreate(icicle);
        setContentView(R.layout.otherview);
        TextView label = (TextView)findViewById(R.id.label);
        Intent inter = getIntent();
        String nom = inter.getStringExtra("leDep");
        label.setText(nom);
    }
    
}
